package CastleDefense;


import java.awt.Image;

import javax.vecmath.Vector2d;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class Actor
{
    private Vector2d location;
    private Image    image;
    private String   name = "";

    public Actor(Vector2d loc)
    {
        this.location = loc;
    }

    public Image getImage()
    {
        return this.image;
    }

    public void setImage(Image img)
    {
        image = img;
    }

    public Vector2d getLoc()
    {
        return this.location;
    }

    public double getX()
    {
        return this.location.x;
    }

    public double getY()
    {
        return this.location.y;
    }

    public String getName()
    {
        return this.name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
